#ifndef INTHPP
#define INTHPP

#include <iostream>

using namespace std;

class Int {
   private:
    int data;
    static int num;

   public:
    Int();
    ~Int();
    Int(int i);
    static bool isodd(int);
};

// int Int::num = 0;
Int::Int() {
    data = 1;
    num++;
    cout << num << " objects of Int has been constructed.\n";
}

Int::~Int() {
    num--;
    //
}

Int::Int(int i) {
    data = i;
    num++;
    cout << num << " objects of Int has been constructed.\n";
}

bool Int::isodd(int d) {
    return d % 2;
}

#endif